import { MockList } from 'graphql-tools'
import Mock from 'mockjs'
import Pick from './utils'

const { Random } = Mock

export default () => ({
  _id: Pick(['0001', '0002', '0003']),
  name: Random.ctitle(),
  unfinished: Random.integer(0, 100),
  finished: Random.integer(0, 100),
  reopend: Random.integer(0, 100),
  classes: () => new MockList(9),
})
